<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>登录</title>
        <%-- 全站样式 --%>
        <jsp:include page="/WEB-INF/jsps/template_style.jsp"></jsp:include>
    
    </head>
<body>
    <div class="container">
        <br/>
        <br/>
        <br/>
        <br/>
        <br/>
        <br/>
        <br/>
        <br/>
        <br/>
                <div class="row">
                    <div class="col-md-4 col-md-push-4 " style="background-color: #f5f5f5;">
                        <div class="row panel-heading">
                            <ol class="breadcrumb">
                                <li><a href="">首页</a></li>
                                <li class="active">登录</li>
                            </ol>
                        </div>
                        
                        <span style="color: red;">${login_msg}</span>
                        <form  action="<c:url value='/login.do'/>" method="post" onsubmit="return manageLogin.login();" class="form-horizontal panel-body">
                            <input type="hidden" id="errorCount" name="errorCount" value="${errorCount}">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-3 control-label">用户名</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="emailID" placeholder="username" name="username">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputPassword3" class="col-sm-3 control-label">密码</label>
                                <div class="col-sm-9">
                                    <input type="password" class="form-control" id="passwordID" placeholder="Password" name="password">
                                </div>
                            </div>
                            <div class="form-group">
                                <div style="margin-top: 5px;" class="col-sm-9 text-right">
                                    <a href="register.jsp">现在注册</a>&nbsp;&nbsp;
                                    <a href="findPassword.jsp">忘记密码</a>
                                </div>
                                <div class="col-sm-1">
                                    <button type="submit" onclick="goLogin()" class="btn btn-success btn-sm">Sign in</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
                
				<%--页脚 --%>
				<jsp:include page="/WEB-INF/jsps/footer.jsp"></jsp:include>
            </div>
        <div class="page-loading-overlay">
            <div class="loader-2"></div>
        </div>
        
       <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
        <%-- 尾部内容 --%>
        <jsp:include page="/WEB-INF/jsps/template_tail.jsp" />
        <!-- login.js -->
        <script src="assets/js/custom/login.js"></script>
    </body>

</html>